package com.example.apitest;

import com.adp.api.AdpInterface;
import android.os.Bundle;
import android.app.Activity;

public class MainActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);

		AdpInterface.newInstance(MainActivity.this, 1159, 3080, 1000)
	}

	@Override
	protected void onResume() {
		super.onResume();
		AdpInterface.newInstance(MainActivity.this, 1159, 3080, 1000).onResume(MainActivity.this);
	}

	@Override
	protected void onPause() {
		super.onPause();
		AdpInterface.newInstance(MainActivity.this, 1159, 3080, 1000).onPause(MainActivity.this);
	}

	@Override
	protected void onStop() {
		super.onStop();
		AdpInterface.newInstance(MainActivity.this, 1159, 3080, 1000).onKill(MainActivity.this);
	}

	@Override
	protected void onDestroy() {
		super.onDestroy();
	}
}
